//
//  ItemModel.m
//  SinaWeibo
//
//  Created by Apple on 16/8/21.
//  Copyright © 2016年 Apple. All rights reserved.
//

#import "ItemModel.h"

@implementation ItemModel

+(instancetype)itemWithTitle:(NSString *)title{
    
    ItemModel *item = [[self alloc]init];
    
    item.title = title;
    
    return item;
    
}

+(instancetype)itemWithTitle:(NSString *)title AndIconName:(NSString *)iconName{
    
    ItemModel *item = [self itemWithTitle:title];
    
    item.icon = iconName;
    
    return item;
    
}

@end
